package com.ftg.product.exam.dto;

import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.ftg.product.exam.entity.BaseStuMp3;
import com.ftg.product.exam.entity.BaseStudent;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 学生的照片集，以及一段自我介绍的视频，后期考虑 鉴黄功能实现 DTO定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
 * Copyright © ftg
*/
@Getter @Setter @Accessors(chain = true)
public class BaseStuMp3DTO extends BaseStuMp3  {
    private static final long serialVersionUID = -7292672479195559229L;

    /**
    * 关联字段 BaseStudent.stuname
    */
    @BindQuery(comparison = Comparison.EQ, entity = BaseStudent.class, field = "stuname", condition = "this.stucode=stuname")
    private String stucodeStuname;
}